home *** CD-ROM | disk | FTP | other *** search
/ Turnbull China Bikeride / Turnbull China Bikeride - Disc 1.iso / HENSA / MISC / SHELL.ARC / Shell / Sources / c / FindWind < prev    next >
Text File  |  1994-05-17  |  386b  |  19 lines

  1. #include "Shell.Shell.h"
  2. #include "Shell.FindWind.h"
  3.  
  4.  
  5. Shell_windblock    *Shell_FindWindBlock( window_handle window)
  6.     /* Finds the Shell_windblock from a window-handle    */
  7.     /* Will need to change this when Shell windows are converted to a linked-list    */
  8. {
  9.     int    i;
  10. for ( i=0; i<Shell_numwinds; i++)    {
  11.     if ( Shell_windows[i].window == window) return &Shell_windows[i];
  12.     }
  13. return NULL;
  14. }
  15.  
  16.  
  17.  
  18.  
  19.